<html>
	<head><title>upload </title> </head>
	<body>
		<h1> upload file</h1>
	</body>
</html>

<?php

	

	$uploaddir = "pdong/files/";
	$uploadfile = $uploaddir . basename($_FILES['userfile']['name']);
	
	move_uploaded_file($_FILES['userfile']['tmp_name'], $uploaddir);

	if(move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
   echo "file upload complete!!";
	} else {
   echo "file upload complete!!";
}

	
		
			

?>
